package com.zuikaku.pojo;

import java.util.Date;

public class Role {
    private Integer roleId;

    private String roleName;

    private String roleCode;

    private Date createDate;

    public Role(Integer roleId, String roleName, String roleCode, Date createDate) {
        this.roleId = roleId;
        this.roleName = roleName;
        this.roleCode = roleCode;
        this.createDate = createDate;
    }

    public Role() {
        super();
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName == null ? null : roleName.trim();
    }

    public String getRoleCode() {
        return roleCode;
    }

    public void setRoleCode(String roleCode) {
        this.roleCode = roleCode == null ? null : roleCode.trim();
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    @Override
    public String toString() {
        return "Role{" +
                "roleId=" + roleId +
                ", roleName='" + roleName + '\'' +
                ", roleCode='" + roleCode + '\'' +
                ", createDate=" + createDate +
                '}';
    }
}